package com.ant.requestsecurity.configure;

import com.ant.requestsecurity.properties.CloudRequestSecurityProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

@EnableConfigurationProperties(CloudRequestSecurityProperties.class)
public class CloudRequestSecurityAutoConfigure {
    @Bean
    public CloudSecurityInterceptorConfigure cloudSecurityInterceptorConfigure() {
        return new CloudSecurityInterceptorConfigure();
    }
}
